Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wr/coft NUTs #783

Closed
wants to merge 5 commits into from
Closed

Wr/coft NUTs #783

wants to merge 5 commits into from

Conversation

WillieRuemmele
Copy link
Contributor

@WillieRuemmele WillieRuemmele commented Oct 19, 2023

What does this PR do?

adds MPD NUTs to COT/CFT flows

What issues does this PR fix or reference?

@W-13193003@
covers forcedotcom/cli#2124

will require: forcedotcom/source-deploy-retrieve#1146

@WillieRuemmele WillieRuemmele changed the title Wr/coft nu ts Wr/coft NUTs Oct 19, 2023

execCmd(`project retrieve start -d ${objectTranslationPath} --json`, {
ensureExitCode: 0,
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is retrieving a COT by filename, not directory. Also, I think we can't rely on just the exit code 0 as a success. I think we need to ensure the retrieve was written to the correct place and not the default location.

'customObject__c-es.objectTranslation-meta.xml'
)
)
).to.be.true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't really retrieving across package dirs. It's retrieving a COT to the default location. I think we need a test that has COT and COFT and ensure it can be retrieved to the default package and to a specific non-default package. E.g., having a COT in my-app, deploying a COFT for that COT from outside of the project, then retrieving it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants